package com.himore.api.web.model;

import com.himore.api.common.annotation.Excel;
import com.himore.api.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 奖品信息对象 t_sys_awards
 *
 * @author ruoyi
 * @date 2021-01-14
 */
public class TSysAwards extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 奖品ID */
    @ApiModelProperty(value = "奖品ID")
    private Long awardId;

    /** 奖品类型 */
    @ApiModelProperty(value = "奖品类型")
    private String awardType;

    /** 奖品名称 */
    @ApiModelProperty(value = "奖品名称")
    private String awardName;

    /** 数额 */
    @ApiModelProperty(value = "数额")
    private Integer amount;

    /** 获奖比例 */
    @ApiModelProperty(value = "获奖比例")
    private Double scaleMin;

    /** $column.columnComment */
    @ApiModelProperty(value = "获奖比例")
    private Double scaleMax;

    public void setAwardId(Long awardId){
        this.awardId = awardId;
    }

    public Long getAwardId(){
        return awardId;
    }
    public void setAwardType(String awardType){
        this.awardType = awardType;
    }

    public String getAwardType(){
        return awardType;
    }
    public void setAwardName(String awardName){
        this.awardName = awardName;
    }

    public String getAwardName(){
        return awardName;
    }
    public void setAmount(Integer amount){
        this.amount = amount;
    }

    public Integer getAmount(){
        return amount;
    }
    public void setScaleMin(Double scaleMin){
        this.scaleMin = scaleMin;
    }

    public Double getScaleMin() {
        return scaleMin;
    }

    public void setScaleMax(Double scaleMax) {
        this.scaleMax = scaleMax;
    }

    public Double getScaleMax(){
        return scaleMax;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("awardId", getAwardId())
                .append("awardType", getAwardType())
                .append("awardName", getAwardName())
                .append("amount", getAmount())
                .append("scaleMin", getScaleMin())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("scaleMax", getScaleMax())
                .toString();
    }
}